import Vue from 'vue'
import App from './App.vue'

/* *导入全局样式 */
import "./styles/global.less"


import messageBox from "@/utils/message-box";
Vue.prototype.$messageBox = messageBox;


/* * 自定义指令*/
import "@/directives"

// * mock
import "./mock"

// * 事件总线
import "@/utils/eventbus";

// * Vuex
import store from "@/store";
store.dispatch("setting/getSetting").then(r => r);
//  路由
import router from "./router"
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
